#ifndef __MEM_SHARED_H__
#define __MEM_SHARED_H__

#include <iostream>

class MemShared{
public:
    MemShared(std::string name, sint32 size);
    ~MemShared();
    void* attach();
    sint32 detach();
    sint32 getSize();
private:
    std::string m_shmName;
    sint32 m_shmSize;
};

#endif